<template>
<div class="title-box">
  <div class="left">
    <img src="../assets/logo.png" alt="">
    <h4>招聘网站</h4>
  </div>
  <div class="right">
    <slot></slot>
  </div>
</div>
</template>

<script  lang="ts">
import {defineComponent} from 'vue'

export default defineComponent({

})
</script>

<style lang="scss" scoped>
.title-box{
    height: 100px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #999;
    .left{
         display: flex;
         align-items: center;
         img{
             height: 70px;
         }
    }
}
</style>